﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;

namespace CloudStorageLight.Core.Web
{
    public class FileTransferVM
    {
        public string WorkTaskId { get; set; }

        public string Current { get; set; }

        public List<string> Files { get; set; }

        public string Password { get; set; }

        public bool Bcc { get; set; }

        public string To { get; set; }

        public string Title { get; set; }

        public string MailBody { get; set; }

        public DateTime Expired { get; set; }

        public int? RemainderTimes { get; set; }

        public FileReciveMode FileReciveMode { get; set; }

        public List<SelectListItem> FileReciveModeList { get; set; }

        public string ReciveBaseDirectory { get; set; }

        public FileTransferVM()
        {
            FileReciveModeList = new List<System.Web.Mvc.SelectListItem>();
            FileReciveModeList.Add(new SelectListItem { Text = ViewMessages.MsgFileReciveModeNone, Value = FileReciveMode.None.ToString() });
            FileReciveModeList.Add(new SelectListItem { Text = ViewMessages.MsgFileReciveModeCurrent, Value = FileReciveMode.Current.ToString() });
            FileReciveModeList.Add(new SelectListItem { Text = ViewMessages.MsgFileReciveModeUser, Value = FileReciveMode.User.ToString() });
            //FileReciveModeList.Add(new SelectListItem { Text = ViewMessages.MsgFileReciveModeSession, Value = FileReciveMode.Session.ToString() });

        }

    }
}
